package com.hotec.PROJECT_NAME.component.exception.exc;

public class ErrorException extends RuntimeException {
    private int code = 500;

    public ErrorException(String msg) {
        super(msg);
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
